package com.lxl.securitypermission.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 日月星辰
 * @date 2020/12/29 22:15
 * @description
 */
@Controller
public class WebController {

  @ApiOperation("首页")
  @GetMapping("")
  public String index() {
    return "index";
  }

  @ApiOperation("登录页面")
  @GetMapping("login")
  public String login() {
    return "login";
  }
}
